package Weather_Observer_15;

public class WeatherApplication {
    public static void main(String[] args) {
        WeatherData weatherData = new WeatherData();


        PhoneDisplay phoneDisplay = new PhoneDisplay();
        weatherData.registerObserver(phoneDisplay);

        TVDisplay tvDisplay = new TVDisplay();
        weatherData.registerObserver(tvDisplay);

        weatherData.notifyObservers(25.0f, 40f, 1012.0f);


    }
}
